<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page import="util.*" %>
<%
if(session.getAttribute(Globals.loginInfo) == null ){
	response.sendRedirect("show!toLogin.do");
}
 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>ShopNC综合多用户商城系统</title>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link href="css/member/header.css" rel="stylesheet" type="text/css" />
<link href="css/member/menu.css" rel="stylesheet" type="text/css" />
<link href="css/member/conter.css" rel="stylesheet" type="text/css" />
<link href="css/member/reset-fonts-grids.css" rel="stylesheet" type="text/css" />
  <style>
  .select02{border:1px solid #ccc;float:left;margin-right:2px;padding:0 5px 0 1px;color:#170;height:280px;overflow:auto}
.select02 li{padding:3px 4px;cursor:default}
.select02 li.IsFather{background:url(images/member/publishitem_subcate_arrow.gif) no-repeat right center}
.select02 li.Selected{border:1px solid #0A9800;padding:2px 3px;background-color:#CAFFC0}
#aa{width:100%;margin:0px auto}
#select_fourth{width:146px;margin-right:0}
#select_first,#select_second,#select_third{width:146px}
  </style>
<script src="js/jquery/jquery.js"></script>
<script src="js/jquery/jquery.form.js"></script>
<script src="js/jquery/jquery.validate.js"></script>
<script src="js/jquery/jquery.cookie.js"></script>
<script type="text/javascript">
//html style hover
$(document).ready(function(){
	$(".tabmenu").mouseover(function(){$(this).addClass("over");}).mouseout(function(){$(this).removeClass("over");})
	$(".tabmenu").hover(function(){$(this).next().css("display","block");},function(){$(this).next().css("display","none");});
	$(".downmenu").hover(function(){$(this).css("display","block");},function(){$(this).css("display","none");})
	$(".nav-bg-1").hover(function(){$(this).addClass("bianse");},function(){$(this).removeClass("bianse");})
	// Text Field Style
	$('input[type=text],textarea,input[type=password]').click(function(){
		$(this).addClass('fct-input-1').blur(function (){ $(this).removeClass('fct-input-1')} );	
	});
	$('input[type=radio],input[type=checkbox]').addClass("radio");
	$(".buttom-comm").hover( function(){$(this).removeClass("buttom-comm").addClass("buttom-comm-se")},function(){$(this).removeClass("buttom-comm-se").addClass("buttom-comm")});
	$(".buttom-comm-1").hover( function(){$(this).removeClass("buttom-comm-1").addClass("buttom-comm-1-se")},function(){$(this).removeClass("buttom-comm-1-se").addClass("buttom-comm-1")});
	$(".span-button").hover( function(){$(this).removeClass("span-button").addClass("span-button-se")},function(){$(this).removeClass("span-button-se").addClass("span-button")})
});
//change language
function changeLang(langTypeValue){
	$.cookie("cdb_commonlangType", langTypeValue);
	window.location.reload();
}
</script>
<script type="text/javascript">
	function addgray(){
		$('.select02').each(function(){
			if ($(this).find('li').length=='0'){$(this).css('background','#eee')}else{$(this).css('background','')}
		})
	};
	function tonext(whos) {
		$(whos).find('li').click(
			function(){			
				$(whos).find('li').removeClass('Selected');
				$('#slPCId').val($(this).attr('id'));
				$(this).addClass('Selected');
				if ($(this).hasClass('IsFather')) {
					//$("#next").attr("disabled",true);
					$(whos).next().html('<li>数据正在加载中……</li>');
					$.get('product!toProductSecond.do?',{action:'list',id:$(this).attr('id')},function(data){
						DataArray = data.split("||");
						var a='';
						for (var i = 0; i<DataArray.length-1; i++)
						 {
						// alert("DataArray:"+DataArray[i]);
						 att=DataArray[i].split("|");
						// alert("att:"+att);
						 id=att[0];
						// alert("id:"+id);
						 var cla="";
						 if ('!'==att[2]) {
						 cla="IsFather"};
						 a+='<li id='+id+' class='+cla+'>'+att[1]+'</li>';
						 };
						// alert(a);
						$(whos).next().html(a).css('background','').nextAll().html('').css('background','#eee');tonext('#'+$(whos).next().attr('id'));
						writeselected();
				})} else {
					$(whos).nextAll().html('').css('background','#eee');
					writeselected();
					//$("#next").attr("disabled",false);
				};
				$("#next").attr("disabled",false); 
				// 显示商品属性
				show_attribute();
		})
	};
	function writeselected(){
		a=$(".select02 li.Selected").map(function(){return $(this).html();}).get().join(" &gt; ") ;
		b=$(".select02 li.Selected").map(function(){return $(this).attr('id');}).get().join("|") ;
		$('#NowSelectedResult').html(a);
		//$.cookie('saveselect', b);
		//DataArray = a.split(" &gt; ");
		

		c=$(".select02 li.Selected:last").attr('id');
		$("#select_all_id").val(b);
		$("#Selltype").val(a);
		$("#select_cate_id").val(c);
		//for (var i = 0; i<DataArray.length-1; i++)
		//{
			//$("#select_cate_id").val(DataArray[0]);
			//$("#select_all_id").val(DataArray[1]);
			//alert("0:"+DataArray[0]+"\t1:"+DataArray[1]);
			//alert("a:"+a+"\nb:"+b+"\nc:"+c);
		// }
		
	}
	$().ready(function(){addgray();tonext('#select_first');});
	
	/*验证表单*/
function checkForm(){
	if($('#NowSelectedResult').html() != ''){
		return true;
	}else{
		alert("请先选择商品类别");
		return false;
	}
}
</script>
</head>
<body>
<div id="doc2" class="yui-t1">
	<div id="hd">
		<div class="header">
    		<h1 class="logo"><a href="http://www.multibuy.cn"><img src="images/member/logo.gif" /></a></h1>
    			<jsp:include page="../jsp/member/top.jsp"></jsp:include>
    		<div class="clear-1"></div>
    		<div class="navpart">
      			<div class="sideleft"></div>
      			<div class="middle">
        			<ul class="menu">
        				<li ><a href="show!toOwnMain.do">我是买家</a></li><li class='current'><a href="product!toMyProduct.do?action=list&optionId=sold">我是卖家</a></li><li ><a href="user!toOwmMember.do">我的账号</a></li><li ><a href="own_shop.php?action=modi">我的店铺</a></li>        			</ul>
        			<div class="search">
          				<form action="../home/product.php" method="get">
            				<input type="text" name="keyword" class="textinput" value="" />
            				<input type="submit" value="" title="搜索" class="btn"/>
          				</form>
          				<span><a href="home/product.php?action=search">高级搜索</a></span>
					</div>
      				</div>
      				<div class="sideright"></div>
    			</div>
  		</div>
		<div class="clear-3"></div>
	</div>
	<div id="bd">
		<div class="yui-b">
			<div class="yui-g">
				<div id="my_menu" class="sdmenu">
					<ul><span>我是卖家</span><li><a href='product!toOwnProduct.do?action=add'class='current'>我要卖</a></li><li><a href='product!toMyProduct.do?action=list&optionId=sold'>已卖出的宝贝</a></li><li><a href='product!toMyProduct.do?action=list&optionId=sell'>出售中的宝贝</a></li><li><a href='product!toMyProduct.do?action=list&optionId=listinstock'>仓库里的宝贝</a></li><li><a href='own_productmessage.php?action=sale'>买家留言/回复</a></li><li><a href='own_product_batch.php'>商品导入导出</a></li><li><a href='own_member.php?action=personal_certify'>个人实名认证</a></li><li><a href='own_shop.php?action=entity_check'>实体店铺认证</a></li><li><a href='own_payment.php'>设置支付方式</a></li></ul><ul><span>卖家缴费管理</span><li><a href='own_shop_pay.php?action=pay'>缴费充值</a></li><li><a href='own_shop_pay.php?action=detail_list'>缴费明细</a></li></ul><ul><span>卖家统计</span><li><a href='own_statics.php?action=member'>客户统计</a></li><li><a href='own_statics.php?action=order'>订单统计</a></li><li><a href='own_statics.php?action=product'>商品统计</a></li></ul><ul><span>物流</span><li><a href='own_postage.php?action=add'>新增模板</a></li><li><a href='own_postage.php?action=list'>运费模板</a></li></ul>				</div>
			</div>
		</div>
		<div id="yui-main">
	<div class="yui-b">
		<div class="yui-g">
			<div class="y-middle">
				<div class="io-3"><p>
											添加商品										</p>
				</div>
				<div class="clear-9"></div>
				<div class="bg-sj bg-wu"></div>
				<div class="clear-9"></div>
				<div class="cr-right">
				<s:if test="#session.pruduct != null">
					<div class="jixuf">
						<div class="jixuf-c">
							<ul>
								<li class="fa-1"><a href="own_product.php?action=add&slPCId=385"></a></li>
								<li class="liu-1"><a href="#session.product.id"></a></li>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>	</div>
				</s:if>
				<s:else>
				<form action="product!toAddProduct.do?action=save" enctype="multipart/form-data" method="post" name="ownaddproduct" id="ownaddproduct">
					<input type="hidden" name="txtPid" id="txtPid" value=""/>
					<input type="hidden" name="txtPcode" id="txtPcode" value=""/>
					<input type="hidden" name="txtPstarttime" id="txtPstarttime" value=""/>
					<input type="hidden" name="txtPendtime" id="txtPendtime" value=""/>
					<input type="hidden" name="txtPstate" id="txtPstate" value=""/>
					<input type="hidden" name="txtViewnum" id="txtViewnum" value=""/>
					<input type="hidden" name="pic_num" id="pic_num" value="0"/>
					<table width="100%" class="cr-r-td" border="0" cellpadding="0">
					<tr>
							<td class="cr-11">
								
							宝贝类目:</td>
							<td class="cr-2" colspan="3">
							<div id="aa">
								    <ul id="select_first" class="select02">
										<s:iterator id="data" value="#attr.data" >
								            <LI class="IsFather" id="<s:property value="id" />" ><s:property value="name" /></LI>
										</s:iterator>
								          </ul>
								    <ul id="select_second" class="select02">
								    </ul>
								    <ul id="select_third" class="select02">
								    </ul>
								    <ul id="select_fourth" class="select02">
								    </ul>
								  </div>
								  <input id="Selltype" name="Selltype" type="hidden" value="">
								  <input id="select_cate_id" name="select_cate" type="hidden" value="">
								  <input id="select_all_id" name="select_all" type="hidden" value="">
								  <input type="hidden" name="slPCId" id="slPCId" value="" />
																	<!-- <input type="hidden" name="slPCId" id="slPCId" value="" />
																<select name="pc_c1" id="pc_c1" class="wd">
									<option value=""></option>
									<s:iterator id="data" value="#attr.data" >
										<option value="<s:property value="id" />"  ><s:property value="name" /></option>
									</s:iterator> -->
																												<!-- <option value="3||1"  >女装</option>
																			<option value="2||1"  >男装</option>
																			<option value="86||1"  >女鞋</option>
																			<option value="85||1"  >男鞋</option>
																			<option value="1469||1"  >运动户外</option>
																			<option value="297||1"  >彩妆</option>
																			<option value="298||1"  >香水</option>
																			<option value="299||1"  >护肤品</option>
																			<option value="300||1"  >瘦身纤体</option>
																			<option value="301||1"  >美容工具</option>
																			<option value="302||1"  >抢鲜试用区</option>
																			<option value="1001||1"  >母婴用品</option>
																			<option value="556||1"  >保健滋补品</option>
																			<option value="1005||1"  >箱包/饰品</option>
																			<option value="1002||1"  >数码/IT/手机通讯</option>
																			<option value="710||1"  >家用电器</option>
																			<option value="21||0"  >图书/音像制品</option> -->
																										</select>
							<!-- 	<select name="pc_c2" id="pc_c2" class="wd">
																	</select>
								<select name="pc_c3" id="pc_c3" class="wd">
																	</select>
								<select name="pc_c4" id="pc_c4" class="wd">
																	</select> -->
							</td>
						</tr>
						<tr>
							<td class="cr-11">交易类型:</td>
							<td class="cr-2">
								<input type="radio" id="radioSelltype1" name="radioSelltype" value="1" onclick="changeAuctionType('1');" checked="checked" /><label for="radioSelltype1">一口价</label>
								<input type="radio" id="radioSelltype0" name="radioSelltype" value="0" onclick="changeAuctionType('0');"  /><label for="radioSelltype0">拍卖</label>
								<input type="radio" id="radioSelltype2" name="radioSelltype" value="2" onclick="changeAuctionType('2');"  /><label for="radioSelltype2">团购</label>
							</td>
							<td class="cr-11">宝贝类型:</td>
							<td class="cr-2">
								<input type="radio" name="radioType" id="radioType1" value="0" checked="checked" /><label for="radioType1">全新</label>
								<input type="radio" name="radioType" id="radioType2" value="1"  /><label for="radioType2">二手</label>
								<input type="radio" value="2" name="radioType" id="radioType3"  /><label for="radioType3">闲置</label>
							</td>
						</tr>
						
												<!-- 属性 -->
						<tr>
							<td class="cr-11">宝贝属性:</td>
							<td class="cr-2" colspan="3" id="td_attribute">
															</td>
						</tr>
												<tr>
							<td class="cr-11">宝贝标题:</td>
							<td class="cr-2" colspan="3"><input type="text" id="txtPname" name="txtPname" maxLength=30 class="in-2" value="" /></td>
						</tr>
					</table>
					<table width="100%" class="cr-r-td" border="0" cellpadding="0" id="div_fixprice"><!-- 一口价 -->
						<tr>
							<td class="cr-11">一口价:</td>
							<td class="cr-2"><input type="text" id="txtPprice" name="txtPprice" maxLength=8 class="in" value="" onkeyup="price_to_exchange(this.value);" /></td>
						</tr>
					</table>
					<table width="100%" class="cr-r-td" border="0" cellpadding="0" id="div_auction"><!-- 拍卖 -->
						<tr>
							<td class="cr-11">起拍价:</td>
							<td class="cr-2"><input type="text" maxLength="8" id="minimumBid" class="in" name="minimumBid" value="" onkeyup="price_to_exchange(this.value);" /></td>
						</tr>
						<tr>
							<td class="cr-11">加价幅度:</td>
							<td class="cr-2">
								<input type="radio" checked="checked" name="system_step" value="1" id="inc1" onclick="$('#price_step').attr('readonly',true).attr('disabled',true);$('#price_step').val('0');" />
								<label for="inc1">系统自动代理加价（商城推荐）<a href="../home/up_price.php" target="_blank">查看系统自动代理加价明细</a></label>
								<br />
								<br />
								<input type="radio"  name="system_step" value="0" id="inc2" onclick="$('#price_step').attr('readonly',false).attr('disabled',false);" />
								<label for="inc2">自定义</label>
								<input maxLength=8 name="price_step" value="0.0" id="price_step" class="in">
								<span class="p-span-5">加价幅度就是竞拍者为了超越前一个人的出价在现有价格上加的金额。推荐您选择系统自动代理加价。</span>
								<script type="text/javascript">
									if (document.getElementById('inc1').checked) {
										document.getElementById('price_step').readOnley=true;
										document.getElementById('price_step').className='disabled';
										document.getElementById('price_step').value = 0;
									}
								</script>
							</td>
						</tr>
					</table>
					<table width="100%" class="cr-r-td" border="0" cellpadding="0" id="div_camel"><!-- 拍卖 -->
						<tr>
							<td class="cr-11">团购价:</td>
							<td class="cr-2"><input type="text" maxLength="8" id="txtGroupprice" class="in" name="txtGroupprice" value="" /></td>
						</tr>
						<tr>
							<td class="cr-11">原价:</td> 
							<td class="cr-2"><input type="text" id="txtPoldprice" class="in" maxLength="8" name="txtPoldprice" value="" /></td>
						</tr>
						<tr>
							<td class="cr-11">团购最小数量:</td>
							<td class="cr-2"><input type="text" id="txtGroupmincount" maxLength="8" class="in" name="txtGroupmincount" value="5" /></td>
						</tr>
					</table>
					<table width="100%" class="cr-r-td wubian"  border="0" cellpadding="0">
						<tr>
							<td class="cr-11">上传图片:</td>
							<td class="cr-2" colspan="3">
								                                <div class="clear-5"></div>
								<a href="javascript:;" onclick="pic_add_tr();"><img src="templates/member/images/zengjia.gif" /></a>
								<div id="div_pic_upload" style=" padding-top:3px;"></div>
								图片限定2M内，jpg或gif格式，请确保图片在浏览器中可以正常打开。一张好图胜千言，建议500×500象素，主体突出。							</td>
						</tr>
						<script>
							var num=0;
							function pic_add_tr(){
								//如果图片数量超过3 则返回信息，不允许添加
								if($("#pic_num").val() > 4){
									alert("上传图片数量为5张，不能超过数量");
									return false;
								}
								$('#div_pic_upload').append('<input type=\'file\' name=\'txtPpic_'+num+'\' /><br />');
								num++;
								//图片数量+1
								$("#pic_num").val(parseInt($("#pic_num").val())+1);
							}
						</script>
						<tr>
							<td class="cr-11">宝贝信息:</td>
							<td class="cr-2" colspan="3">
										<iframe name="editor_iframe" id="editor_iframe" src="editor/Edit/editor.htm?id=txtPinfo&ReadCookie=0" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" width="621" height="460"></iframe>
		<textarea name="txtPinfo" id="txtPinfo" style="display:none;"></textarea>							</td>
						</tr>
						<tr>
							<td class="cr-11">宝贝数量:</td>
							<td class="cr-2" colspan="3">
								<input type="text" maxLength="6" class="in" name="txtPstorage" id="txtPstorage" value="1" />
							</td>
						</tr>
						<tr>
							<td class="cr-11">支付方式:</td>
							<td class="cr-2" colspan="3">
																									<input onclick="if(this.checked == true){select_cur('CNY');}else{select_no_cur('CNY','offline');}" type="checkbox" checked="checked" value="offline" name="txtPayment[offline]" id="txtPayment_offline" /><label for="txtPayment_offline">线下支付</label>
									<input type="hidden" name="payment_cur_offline" id="payment_cur_offline" value="CNY" />
																	<input onclick="if(this.checked == true){select_cur('USD|GBP|JPY|CAD|EUR|HKD|CNY');}else{select_no_cur('USD|GBP|JPY|CAD|EUR|HKD|CNY','paypal');}" type="checkbox" checked="checked" value="paypal" name="txtPayment[paypal]" id="txtPayment_paypal" /><label for="txtPayment_paypal">paypal</label>
									<input type="hidden" name="payment_cur_paypal" id="payment_cur_paypal" value="USD|GBP|JPY|CAD|EUR|HKD|CNY" />
																	<input onclick="if(this.checked == true){select_cur('CNY');}else{select_no_cur('CNY','predeposit');}" type="checkbox" checked="checked" value="predeposit" name="txtPayment[predeposit]" id="txtPayment_predeposit" /><label for="txtPayment_predeposit">预存款支付</label>
									<input type="hidden" name="payment_cur_predeposit" id="payment_cur_predeposit" value="CNY" />
																	<input onclick="if(this.checked == true){select_cur('CNY');}else{select_no_cur('CNY','alipay');}" type="checkbox" checked="checked" value="alipay" name="txtPayment[alipay]" id="txtPayment_alipay" /><label for="txtPayment_alipay">支付宝</label>
									<input type="hidden" name="payment_cur_alipay" id="payment_cur_alipay" value="CNY" />
																	<input onclick="if(this.checked == true){select_cur('CNY');}else{select_no_cur('CNY','tenpay');}" type="checkbox" checked="checked" value="tenpay" name="txtPayment[tenpay]" id="txtPayment_tenpay" /><label for="txtPayment_tenpay">财付通</label>
									<input type="hidden" name="payment_cur_tenpay" id="payment_cur_tenpay" value="CNY" />
																							</td>
						</tr>
						<tr>
							<td class="cr-11"></td>
							<td class="cr-2" colspan="3">目前商城支持以下的支付方式，除了线下交易以外，其他的支付方式只有当用户填写了自己的相关支付帐号才会在支付方式中显示可以进入会员后台进行设置:
																								线下支付																paypal																预存款支付																支付宝																财付通																							</td>
						</tr>
						<tr>
							<td class="cr-11">货币选择:</td>
							<td class="cr-2" colspan="3">
																									<input type="hidden" name="exchange_rate_CNY" id="exchange_rate_CNY" value="100.00" />
									<div id="div_cur_CNY" style="float:left;display:block">
									<input type="checkbox" 
																															checked="checked"																																																																																																																																																											name="currency[CNY]" id="currency_CNY" value="CNY" /><label for="currency_CNY">人民币(CNY)</label>&nbsp;&nbsp;&nbsp;
									<div id="price_rate_CNY">
																			</div>
									</div>
																	<input type="hidden" name="exchange_rate_USD" id="exchange_rate_USD" value="694.08" />
									<div id="div_cur_USD" style="float:left;display:block">
									<input type="checkbox" 
																																																				checked="checked"																																																																																																																																						name="currency[USD]" id="currency_USD" value="USD" /><label for="currency_USD">美元(USD)</label>&nbsp;&nbsp;&nbsp;
									<div id="price_rate_USD">
																			</div>
									</div>
																	<input type="hidden" name="exchange_rate_GBP" id="exchange_rate_GBP" value="1370.53" />
									<div id="div_cur_GBP" style="float:left;display:block">
									<input type="checkbox" 
																																																																									checked="checked"																																																																																																																	name="currency[GBP]" id="currency_GBP" value="GBP" /><label for="currency_GBP">德国马克(GBP)</label>&nbsp;&nbsp;&nbsp;
									<div id="price_rate_GBP">
																			</div>
									</div>
																	<input type="hidden" name="exchange_rate_JPY" id="exchange_rate_JPY" value="6.67" />
									<div id="div_cur_JPY" style="float:left;display:block">
									<input type="checkbox" 
																																																																																														checked="checked"																																																																																												name="currency[JPY]" id="currency_JPY" value="JPY" /><label for="currency_JPY">日元(JPY)</label>&nbsp;&nbsp;&nbsp;
									<div id="price_rate_JPY">
																			</div>
									</div>
																	<input type="hidden" name="exchange_rate_CAD" id="exchange_rate_CAD" value="699.04" />
									<div id="div_cur_CAD" style="float:left;display:block">
									<input type="checkbox" 
																																																																																																																			checked="checked"																																																																							name="currency[CAD]" id="currency_CAD" value="CAD" /><label for="currency_CAD">加拿大元(CAD)</label>&nbsp;&nbsp;&nbsp;
									<div id="price_rate_CAD">
																			</div>
									</div>
																	<input type="hidden" name="exchange_rate_EUR" id="exchange_rate_EUR" value="1089.36" />
									<div id="div_cur_EUR" style="float:left;display:block">
									<input type="checkbox" 
																																																																																																																																								checked="checked"																																																		name="currency[EUR]" id="currency_EUR" value="EUR" /><label for="currency_EUR">欧元(EUR)</label>&nbsp;&nbsp;&nbsp;
									<div id="price_rate_EUR">
																			</div>
									</div>
																							</td>
						</tr>
						<tr>
							<td class="cr-11">所在地:</td>
							<td class="cr-2" colspan="3">
								<input type="hidden" name="area_id" id="area_id" value=""/>
								<select id="area_c1" name="area_c1" class="wd">
									<option valus="" selected></option>
																												<option  value="1||1">天津</option>
																										</select>
								<select id="area_c2" name="area_c2" class="wd">
									<option valus="" selected></option>
								</select>
								<select id="area_c3" name="area_c3" class="wd">
									<option valus="" selected></option>
								</select>
								<select id="area_c4" name="area_c4" class="wd">
									<option valus="" selected></option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="cr-11">运费:</td>
							<td class="cr-2" colspan="3">
								<input name="radioTransfee" type="radio" id="whopsSeller" onclick="$('#ApplyPostage').css('display','none')" value="0" checked="checked" />
								<label for="whopsSeller">卖家承担运费</label><br />
								<input name="radioTransfee" type="radio" id="whopsBuyer" onclick="$('#ApplyPostage').css('display','block');$('#use_postage_1').trigger('click');"  value="1"  />
								<label for="whopsBuyer">买家承担运费</label>
								<div style="padding-left:20px; width:460px; height:100px; padding-top:10px; background-color:#f8f8f8; border:#ececec 1px solid;" id="ApplyPostage" style="display:none">
									<input type="radio" name="use_postage" id="use_postage_1" value='1' checked /><label for="use_postage_1">使用运费模板</label>
									<br />
									<div id="postage_sel_div" style=" padding-left:21px; padding-top:7px;">
																				<span id="postageName" style=" padding-left:3px; padding-top:5px; padding-right:3px;">请点击按钮</span> 
											<span style=" margin-left:3px;" class="buttom-comm-1"><input class="input-a" type="button" id="postageButton" value="选择模板" onclick="gotoSelectPostage();" /></span>
											<input type="hidden" id="postage_id" name="postage_id" value="" />
																		</div>
									
				
									<div style=" clear:both; padding-top:5px;"><input type="radio" name="use_postage" id="use_postage_0" value='0' />平邮:<input maxLength="8" size="8" id="pyTF" name="pyTF" value="0.0" />
									快递:<input maxLength="8" size="8" id="kdTF" name="kdTF" value="0.0" />
									EMS:<input maxLength="8" size="8" id="emsTF" name="emsTF" value="0.0" /></p>
								</div>
							</td>
						</tr>
						<tr>
							<td class="cr-11">发票:</td>
							<td class="cr-2">
								<input type=radio  value="1" name="radioInvoices" id="radioInvoices2"  /><label for="radioInvoices2">有</label>
								<input type="radio" value="0" name="radioInvoices" id="radioInvoices" checked /><label for="radioInvoices">无</label>
							</td>
							<td class="cr-11">保修:</td>
							<td class="cr-2">
								<input type="radio"  value="1" name="radioWarranty" id="warrantyY"  /><label for="warrantyY">有</label>
								<input type="radio" value="0" name="radioWarranty" id="warrantyN" checked /><label for="warrantyN">无</label>
							</td>
						</tr>
						<tr>
							<td class="cr-11">商品认证:</td>
							<td class="cr-2">
								<input type="checkbox" name="txtPgenuine" id="txtPgenuine" value="1"  /><label for="txtPgenuine">正品保障</label>
								<input type="checkbox" name="txtP7day" id="txtP7day" value="1"  /><label for="txtP7day">7天退换</label>
							</td>
							<td class="cr-11">橱窗推荐:</td>
							<td class="cr-2">
								<input type="checkbox" value="1" name="chxRecommended" id="chxRecommended"  /><label for="chxRecommended">是</label>
							</td>
						</tr>
						<tr>
							<td class="cr-11">有效期:</td>
							<td class="cr-2" colspan="3">
								<span><input type="text" class="in" name="slValiddays" id="slValiddays" maxLength="3" value="7" /></span><span class="cr-5-span">天宝贝信息在网上发布的时间，可以选择1天到30天。</span>
							</td>
						</tr>
						<tr>
							<td class="cr-11">开始时间:</td>
							<td class="cr-2" colspan="3">
								<input type="radio" name="_now" value="0" id="_now0" checked/>
								<label for="_now0">立刻</label>
								<input type="radio" name="_now" value="2" id="inStock"/>
								<label for="inStock">放入仓库</label>
							</td>
						</tr>
						<tr>
							<td class="cr-11">自动重发:</td>
							<td class="cr-2" colspan="3">
								<input type="checkbox" value="1" name="chxAutopublish" id="chxAutopublish"  /><label for="chxAutopublish">是</label>
								<label>系统会帮您自动重发一次，到期未卖出的宝贝，您可以在仓库里找到并重新发布</label> 
							</td>
						</tr>
						<tr>
							<td class="cr-11">购买须知:</td>
							<td class="cr-2" colspan="3">
								<textarea id="txtRemark" name="txtRemark" rows="10" cols="38"></textarea>
							</td>
						</tr>
						<tr>
							<td class="cr-11">相关搜索词:</td>
							<td class="cr-2" colspan="3">
								<input type="text" id="txtKeywords" class="in-2" maxlength="80" name="txtKeywords" value="" /><span class="p-span-5">即META的keywords，使用逗号分隔，最好保持在5-10个词语，如果为空，那么以标题填充，用于搜索引擎抓取。</span>
							</td>
						</tr>
						<tr>
							<td class="cr-11">搜索内容描述:</td>
							<td class="cr-2" colspan="3">
								<textarea id="txtDescription" name="txtDescription" rows="10" cols="38"></textarea><span class="p-span-5">即META的description，对内容的描述，文字要简洁明了，如果为空，那么以标题填充，用于搜索引擎抓取。</span>
							</td>
						</tr>
					</table>
					<div class="an-1">
						<span class="buttom-comm">
							<input id="Submit" type="submit" class='submit' name="" value="提交" />
						</span>
					</div>
				</form>
				</div>
			</div>
		</div>
	</div>
</div>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
	//use postage
	$('#use_postage_1').click(function(){
		$('#pyTF').attr('disabled',true);//.css({})
		$('#kdTF').attr('disabled',true);//.css({})
		$('#emsTF').attr('disabled',true);//.css({})
		$('#postage_sel_div').css('display','block');
		$('#pyTF').next('label').css('display','none');
		$('#kdTF').next('label').css('display','none');
		$('#emsTF').next('label').css('display','none');
	});
	//no use postage
	$('#use_postage_0').click(function(){
		$('#pyTF').attr('disabled',false);//.css({})
		$('#kdTF').attr('disabled',false);//.css({})
		$('#emsTF').attr('disabled',false);//.css({})
		$('#postage_sel_div').css('display','none');
	});
	//document ready postage click
			$('#whopsSeller').trigger('click');
		//validate
	$("#ownaddproduct").validate({
		errorClass: "wrong",
		rules: {
			slPCId:{required:true},
			txtPname: {required:true},
			txtPstorage: {
				required:true,
				number:true,
				min: function(){
						if($("#radioSelltype2").attr('checked')==true){
							return 5;
						}else{
							return 1;
						}
					}
			},
			minimumBid: {
				required: "#radioSelltype0:checked",
				number: true,
				min: function(){
						if($("#radioSelltype0").attr('checked')==true){
							return 0.01;
						}else{
							return 0;
						}
					}
			},
			price_step: {
				required: "#radioSelltype0:checked",
				number: true,
				min: function(){
					if($("#radioSelltype0").attr('checked')==true && $("#inc2").attr('checked')==true){
						return 1;
					}else{
						return 0;
					}
				}
			},
			txtPprice: {required: "#radioSelltype1:checked",number: true,min: 0.01},
			txtGroupprice: {required:"#radioSelltype2:checked",number:true,min: function(){
					if($("#radioSelltype2").attr('checked')==true){
						return 0.1;
					}else{
						return 0;
					}
				}
			},
			txtPoldprice: {required: "#radioSelltype2:checked",number: true,min: function(){return $("#txtGroupprice").val();}},
			txtGroupmincount: {
				required: "#radioSelltype2:checked",
				number: true,
				min: function(){
					if($("#radioSelltype2").attr('checked')==true){
						return 5;
					}else{
						return 0;
					}
				},
				max:function(){
					if($("#radioSelltype2").attr('checked')==true){
						if($("#txtPstorage").val() >= 100){
							return 100;
						}else{
							return $("#txtPstorage").val();
						}
					}else{
						return 10000000;
					}
				}
			},
			area_id: {required: true},
			pyTF: {
				required: check_validate_pyTF_required,
				number: check_validate_pyTF_number,
				min: check_validate_pyTF_min,
				max: check_validate_pyTF_max
			},
			kdTF: {
				required: check_validate_kdTF_required,
				number: check_validate_kdTF_number,
				min: check_validate_kdTF_min,
				max: check_validate_kdTF_max
			},
			emsTF: {
				required: check_validate_emsTF_required,
				number: check_validate_emsTF_number,
				min: check_validate_emsTF_min,
				max: check_validate_emsTF_max
			},
			slValiddays: {
				required: true,
				number: true,
				min: 1,
				max: 30
			},
			postage_id:{
				required: check_validate_postage_required
			}
		},
		messages: {
			slPCId:{required:"商品类别不能为空"},
			txtPname: {required: "宝贝标题不能为空！"},
			txtPstorage: {
				required: "宝贝数量必须为数字,并且必须大于1",
				number: "宝贝数量必须为数字,并且必须大于1",
				min: function(){
					if($("#radioSelltype2").attr('checked')==true){
						return "宝贝数量必须为数字,并且必须大于5";
					}else{
						return "宝贝数量必须为数字,并且必须大于1";
					}
				}
			},
			minimumBid: {required: "起拍价必须为数字,起拍价必须大于0.01",number: "起拍价必须为数字,起拍价必须大于0.01",min: "起拍价必须为数字,起拍价必须大于0.01"},
			price_step: {required: "自定义加价幅度最小为1",number: "自定义加价幅度最小为1",min: "自定义加价幅度最小为1"},
			txtPprice: {required: "价格不能为空，并且必须为大于0.01的数字",number: "价格不能为空，并且必须为大于0.01的数字",min: "价格不能为空，并且必须为大于0.01的数字"},
			txtGroupprice: {required: "团购价格不能为空，并且必须为大于0.01的数字",number: "团购价格不能为空，并且必须为大于0.01的数字",min: "团购价格不能为空，并且必须为大于0.01的数字"},
			txtPoldprice: {required: "原价不能为空，并且必须为大于等于团购价格",number: "原价不能为空，并且必须为大于等于团购价格",min: "原价不能为空，并且必须为大于等于团购价格"},
			txtGroupmincount: {required: "团购最小数量必须大于等于5，并且小于商品发布数量",number: "团购最小数量必须大于等于5，并且小于商品发布数量",min:"团购最小数量必须大于等于5，并且小于商品发布数量",max:"团购最小数量必须大于等于5，并且小于商品发布数量"},
			area_id: {required:"所在地省市错误"},
			pyTF: {required: "平邮必须为数字，并且大于0,小于999.99",number: "平邮必须为数字，并且大于0,小于999.99",min: "平邮必须为数字，并且大于0,小于999.99",max:"平邮必须为数字，并且大于0,小于999.99"},
			kdTF: {required: "快递必须为数字，并且大于0,小于999.99",number: "快递必须为数字，并且大于0,小于999.99",min: "快递必须为数字，并且大于0,小于999.99",max:"快递必须为数字，并且大于0,小于999.99"},
			emsTF: {required: "EMS必须为数字，并且大于0,小于999.99",number: "EMS必须为数字，并且大于0,小于999.99",min: "EMS必须为数字，并且大于0,小于999.99",max:"EMS必须为数字，并且大于0,小于999.99"},
			slValiddays: {required: "有效期设置错误",number: "有效期设置错误",min: "有效期设置错误",max: "有效期设置错误"},
			postage_id:{required: "请选择运费模板"}
		},
		submitHandler: function(form) {
			// submit button disabled
			$('#Submit').attr('disabled',true);
			var check_sign = false;//货币选择状态标识
			var payment_check = false;//支付方式选择状态标识
			var predeposit_check = false;//预存款选择状态标识
			var payment_alert_sign = false;//支付方式是否抛出错误信息标识
			
			//判断预存款选择状态
			if($('#pay_predeposit').attr('checked') == true){
				predeposit_check = true;
			}
			//验证支付方式的复选验证，是否全选，选中的支付方式是否选择了支付货币种类
			$("#ownaddproduct input").each(function(){
				if(this.name.indexOf('payment_cur_') == 0){
					//判断支付方式是否被选择
					str = this.name.split('payment_cur_');//取支付方式名称 str[1]
					if($('#txtPayment_'+str[1]).attr('checked') == true){
						//取该支付方式的货币种类字符串
						str2 = $('#payment_cur_'+str[1]).val().split('|');
						payment_check = true;//标识有选择的支付方式
						//判断该选中的支付方式起码有一个支持的货币种类被选择
						for(i=0;i<str2.length;i++){
							if($('#currency_'+str2[i]).attr('checked') == true){
								check_sign = true;
								break;
							}
						}
						if(check_sign == false){//没有选择货币
							payment_alert_sign = true;
						}
					}
				}
				check_sign = false;
			});
			if(predeposit_check == true){//选择预付款
				if(payment_alert_sign == false){//判断是否有错误抛出:没有
					form.submit();
				}else{
					alert("每种支付方式必须选择至少一种支持的货币单位");
					$('#Submit').attr('disabled',false);
					return false;
				}
			}else{//没有选择预存款
				if(payment_alert_sign == false && payment_check == true){//判断是否有错误抛出并且选择了起码一种支付方式:没有
					form.submit();
				}else{
					alert("每种支付方式必须选择至少一种支持的货币单位");
					$('#Submit').attr('disabled',false);
					return false;
				}
			}
		}
	});
	//validate function
	function check_validate_postage_required(){
		if($('#use_postage_1').attr('checked') == true && $('#whopsBuyer').attr('checked') == true){
			return true;
		}else{
			return false;
		}
	}
	function check_validate_pyTF_required(){
		if($('#use_postage_0').attr('checked') == true && $('#whopsBuyer').attr('checked') == true){
			return true;
		}else{
			return false;
		}
	}
	function check_validate_pyTF_number(){
		if($('#use_postage_0').attr('checked') == true && $('#whopsBuyer').attr('checked') == true){
			return true;
		}else{
			return false;
		}
	}
	function check_validate_pyTF_min(){
		if($('#use_postage_0').attr('checked') == true && $('#whopsBuyer').attr('checked') == true){
			return 0;
		}else{
			return false;
		}
	}
	function check_validate_pyTF_max(){
		if($('#use_postage_0').attr('checked') == true && $('#whopsBuyer').attr('checked') == true){
			return 999.99;
		}else{
			return false;
		}
	}
	function check_validate_kdTF_required(){
		if($('#use_postage_0').attr('checked') == true && $('#whopsBuyer').attr('checked') == true){
			return true;
		}else{
			return false;
		}
	}
	function check_validate_kdTF_number(){
		if($('#use_postage_0').attr('checked') == true && $('#whopsBuyer').attr('checked') == true){
			return true;
		}else{
			return false;
		}
	}
	function check_validate_kdTF_min(){
		if($('#use_postage_0').attr('checked') == true && $('#whopsBuyer').attr('checked') == true){
			return 0;
		}else{
			return false;
		}
	}
	function check_validate_kdTF_max(){
		if($('#use_postage_0').attr('checked') == true && $('#whopsBuyer').attr('checked') == true){
			return 999.99;
		}else{
			return false;
		}
	}
	function check_validate_emsTF_required(){
		if($('#use_postage_0').attr('checked') == true && $('#whopsBuyer').attr('checked') == true){
			return true;
		}else{
			return false;
		}
	}
	function check_validate_emsTF_number(){
		if($('#use_postage_0').attr('checked') == true && $('#whopsBuyer').attr('checked') == true){
			return true;
		}else{
			return false;
		}
	}
	function check_validate_emsTF_min(){
		if($('#use_postage_0').attr('checked') == true && $('#whopsBuyer').attr('checked') == true){
			return 0;
		}else{
			return false;
		}
	}
	function check_validate_emsTF_max(){
		if($('#use_postage_0').attr('checked') == true && $('#whopsBuyer').attr('checked') == true){
			return 999.99;
		}else{
			return false;
		}
	}
});
function changeAuctionType(type){
	if(type == '0'){
		$('#whopsSeller').attr('checked','checked');
		$('#whopsBuyer').attr('disabled',true);
		$('#ApplyPostage').css('display','none');
		auction();
	}else{
		if (type == '1'){
			fixprice();
		}else{
			camel();
		}
		$('#whopsBuyer').attr('disabled',false);
		$('#tr_product_currency').css('display','');
	}
}
function fixprice() {
	$('#div_fixprice').css('display','');
	$('#div_auction').css('display','none');
	$('#div_camel').css('display','none');
	$('#republish').css('display','');
}
function auction() {
	$('#div_fixprice').css('display','none');
	$('#div_auction').css('display','');
	$('#div_camel').css('display','none');
	$('#republish').css('display','');
}
function camel() {
	$('#div_fixprice').css('display','none');
	$('#div_auction').css('display','none');
	$('#div_camel').css('display','');
	$('#republish').css('display','none');
}

//选中支付方式的时候，显示对应的货币种类
function select_cur(str){
	if(str.indexOf('|') >= 0){
		line = str.split('|');
		for(i=0;i<line.length;i++){
			$("#div_cur_"+line[i]).css("display",'');
		}
	}else{
		$("#div_cur_"+str).css("display",'');
	}
}
//取消支付方式的时候，隐藏对应的货币种类
function select_no_cur(str,payment_name){
	//取该支付方式支持的货币种类str
	cur_array = str.split('|');
	for(i=0;i<cur_array.length;i++){
		//取其他支付方式，判断是否有该种货币的信息，并且判断是否勾选，如果没有勾选，则隐藏并且取消够先该货币种类
		cur_sign = false;
		$('#ownaddproduct input').each(function(){//每种支付方式对应的货币字符
			//判断其他的支付方式是否也存在该货币种类
			if('payment_cur_'+payment_name != this.name && this.name.indexOf('payment_cur_') >= 0){
				other_cur_array = this.value.split('|');
				payment_pro_name = this.name.replace('payment_cur_','txtPayment_');
				for(j=0;j<other_cur_array.length;j++){
					if(cur_array[i] == other_cur_array[j] && $('#'+payment_pro_name).attr('checked') == true){
						//存在
						cur_sign = true;
					}
				}
				payment_pro_name = '';
			}
		})
		//说明其他支付方式没有该货币种类，则可以隐藏并且取消该货币的层和复选
		if(cur_sign == false){
			$("#div_cur_"+cur_array[i]).css("display",'none');
			$("#currency_"+cur_array[i]).attr("checked",false);
		}
	}
}
//计算 单价和各货币种类换算的值
function price_to_exchange(price){
	if(price == ''){
		price = 0;
	}else{
		price = price*1;
	}
	//取货币种类的汇率
	$('#ownaddproduct input').each(function(){
		if(this.name.indexOf('exchange_rate_') >= 0){
			var line = this.name.split('exchange_rate_');
			//alert(line[line.length-1]);
			//在换算区域赋值 parseFloat()
			value = $("#exchange_rate_"+line[line.length-1]).val();
			one = accDiv(price,value);
			if(Math.round(one*10000)/100 < 0.01){
				$("#price_rate_"+line[line.length-1]).html(0.01);//Math.round(one*100)/100
			}else{
				$("#price_rate_"+line[line.length-1]).html(Math.round(one*10000)/100);
			}
		}
	});
}
function accDiv(arg1,arg2){
	var t1=0,t2=0,r1,r2;
	try{t1=arg1.toString().split(".")[1].length}catch(e){}
	try{t2=arg2.toString().split(".")[1].length}catch(e){}
	with(Math){
		r1=Number(arg1.toString().replace(".",""));
		r2=Number(arg2.toString().replace(".",""));
		return (r1/r2)*pow(10,t2-t1);
	}
}
//删除图片 缩略图名称
function ajaxFileDel(pic_url,obj){
	$.ajax({
		url: "own_product.php",
		data: 'action=pic_del&pic_name='+pic_url,
		type:'post',
		dataType:"json",
		success: function(msg){
			if(msg.type == '0'){
				alert(msg.message);
			}else{
				$(obj).parents("li").remove();
				/*arr = $('#p_pic').val().split('|');
				for(i=0;i<arr.length;i++){
					if(arr[i] == pic_url){
						delete(arr[i]);
					}
				}
				$('#p_pic').val(arr.join('|'));*/
				//图片数量-1
				$("#pic_num").val(parseInt($("#pic_num").val())-1);
			}
		}
	});
	return false;
}

//地区选择
function tonext_area(whos) {
	$(whos).change(
		function(){
			var valarray=$(this).val().split('||');	
			$('#area_id').val(valarray[0]);
			if (valarray[1]=='1') {
				$(this).next().attr('disabled','true').html('<option value="" selected="selected">数据正在加载中……</option>');
				$.get(
					'../home/tohtml.php',
					{action:'get_area',id:valarray[0],random_number:Math.random()},
					function(data){
						DataArray = data.split("|||");
						var a='';
						for (var i = 0; i<DataArray.length-1; i++) {
							att=DataArray[i].split("||");
							id=att[0];
							cla=att[2];
							a+='<option value="'+id+'||'+cla+'">'+att[1]+((cla=='1')?' ->':'')+'</option>';
						}
						
					$(whos).next().removeAttr('disabled').html('<option value="'+valarray[0]+'" selected="selected"></option>'+a).nextAll().html('');
					tonext_area($(whos).next());
					}
				)
			} else {
				$(whos).nextAll().html('').attr('disabled','true');
			};
		}
	)
};

//品牌选择
function tonext_brand(whos) {
	$(whos).change(
		function(){
			var valarray=$(this).val().split('||');	
			$('#brand_id').val(valarray[0]);
			if (valarray[1]=='1') {
				$(this).next().attr('disabled','true').html('<option value="" selected="selected">数据正在加载中……</option>');
				$.get(
					'../home/tohtml.php',
					{action:'get_brand',id:valarray[0],random_number:Math.random()},
					function(data){
						DataArray = data.split("|||");
						var a='';
						for (var i = 0; i<DataArray.length-1; i++) {
							att=DataArray[i].split("||");
							id=att[0];
							cla=att[2];
							a+='<option value="'+id+'||'+cla+'">'+att[1]+((cla=='1')?' ->':'')+'</option>';
						}
						
					$(whos).next().removeAttr('disabled').html('<option value="'+valarray[0]+'" selected="selected"></option>'+a).nextAll().html('');
					tonext_brand($(whos).next());
					}
				)
			} else {
				$(whos).nextAll().html('').attr('disabled','true');
			};
		}
	)
};
//商品类别
function tonext_edit(whos) {
	$(whos).change(
		function(){
			//var valarray=$(this).val().split('||');
			var valarray=$(this).val();
			alert(valarray);
			$('#slPCId').val(valarray[0]);
			if (valarray[1]=='1') {
				$(this).next().attr('disabled','true').html('<option value="" selected="selected">数据正在加载中……</option>');
				$.get(
					'product!toProductSecond.do?',
					{action:'list',id:valarray,random_number:Math.random()},
					function(data){
						DataArray = data.split("||");
						var a='';
						for (var i = 0; i<DataArray.length-1; i++) 
						{
							att=DataArray[i].split("|");
							id=att[0];cla=att[2];
							a+='<option value="'+id+'||'+cla+'">'+att[1]+((cla=='1')?' ->':'')+'</option>';
						};
						$(whos).next().removeAttr('disabled').html('<option value="'+valarray[0]+'" selected="selected"></option>'+a).nextAll().html('');
						tonext_edit($(whos).next());
					}
				)
			}
			else {
				$(whos).nextAll().html('').attr('disabled','true');
				$('#cancel_edit_button').attr('disabled','');
			};	
			// 显示商品属性
			show_attribute();
	})
};

//根据商品类别ID取商品属性
function ajax_get_attribute(pc_id){
	array=pc_id.split('||');
	if(array[1] == 0){//没有下级分类
		$.get('../home/product.php',{action:'ajax_get_attribute',pc_id:array[0],random_number:Math.random()},function(data){
			if(data != ''){
				$('#attribute_baby').html(data);
			}else{
				$('#attribute_baby').html('');
			}
		})
	}else{
		return false;
	}
}

$(document).ready(function() {

	tonext_area('#area_c1');
	
	tonext_brand('#brand_c1');
	
	tonext_edit('#pc_c1');
	
	fixprice();

			changeAuctionType('1');
	});
//select postage
function gotoSelectPostage(){
	window.open("own_postage.php?action=sel_postage");
}
function afterSelectPostage(postage_id, postageName) {
	$('#postage_id').val(postage_id);
	$('#postageName').html(postageName);
	$('#postageButton').val("重新选择运费模板");
}
// 属性
function show_attribute(){
	var id=$('#slPCId').val();
	if(id != ''){
		$('#td_attribute').html('<img src="images/member/loading.gif" />');
		$.ajax({
			url: 'product!toOwnProduct.do?action=ajax_get_attribute&pc_id='+id,
			type:'post',
			dataType:"html",
			success: function(html){
				$('#td_attribute').html(html);
			},
			error :function(){
				$('#td_attribute').html('');
			}
		});
	}else{
		$('#td_attribute').html('');
	}
}
</script>	</div>
</s:else>
	<div id="ft">
	<div id="layout_foot"><div id="footerlist">
	<ul class="footlink">
				<li>
			<a href="html/section/1.html" target="_blank"> 客户中心</a> 
		</li>
			<li>
			<a href="html/section/2.html" target="_blank"> 诚征英才</a> 
		</li>
			<li>
			<a href="html/section/3.html" target="_blank"> 联系我们</a> 
		</li>
			<li>
			<a href="html/section/4.html" target="_blank"> 网站地图</a> 
		</li>
			<li>
			<a href="html/section/5.html" target="_blank"> 版权说明</a> 
		</li>
		</ul>
	</div>
	<div class="copyright">
	<!-- 以下版权信息不能去除，否则程序无法运行 -->
	Powered by <a href="http://www.shopnc.net" target="_blank" style="color:#FF6600">ShopNC</a>  &copy; v2.6 2007-2010 <a href="http://www.shopnc.net" target="_blank" style="color:#0033CC">网城创想</a> Inc.<br />
	<!-- 以上版权信息不能去除，否则程序无法运行 -->
	  
	   版权所有 天津市网城创想科技有限责任公司
	  <a href="http://www.miibeian.gov.cn/" target="_blank">津ICP备080001719号</a>
	  <br />
	  软件著作权登记号: 2008SR07843
    </div>
<div id="hack"></div>
</div>
<!-- 插件内容 -->
		</div>
	<div id="time-xl">
	Processed in 0.064201 second(s), 3 queries.
	</div>
</div>
</body>
</html>
